<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #scrollParent {
            overflow: auto;
            height: 50px;
        }

        #scrollChild {
            height: 200px;
        }

        #container {
            height: 20000px;
            width: 20000px;
            background-color: red;
        }

        #target {
            width: 40px;
            height: 40px;
            background: black;
            position: absolute;
            top: 11000px;
            left: 400px;
        }
    </style>
</head>
<body>

<div id="scrollParent">
    <div id="scrollChild">
    </div>
</div>

<div id="container">
    <div id="target"></div>
</div>

</body>
</html>
